package com.ismarkendenis.largepowermodulon;

import java.math.BigInteger;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		LargePowerModuloN lpmn = new LargePowerModuloN();
		System.out.println(lpmn.recursiveLargePowerModuloN(new BigInteger("33789"), new BigInteger("13458"), new BigInteger("99839")).toString());
	}

}
